<!DOCTYPE html>
<html lang="en">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body id="demo">
    <input v-model="searchText">
    <ul>
        <li v-for="user in users | filterBy searchText in 'name'">{{user.name}}</li>
    </ul>
    <script type="text/javascript" src="js/vue.1.0.28.js"></script>
    <script>
        var dmeo = new Vue({
            el: "#demo",
            data: {
                users: [{ name: '快车', tag: '1' },
                { name: '出租车', tag: '2' }, { name: '顺风车', tag: '3' }, { name: '专车', tag: '4' }]
            }
        })
    </script>
</body>

</html>